#ifndef _TEST_H_
#define _TEST_H_

#include "functions.h"


#include <iostream>



#ifdef __cplusplus
# define TEST(x) do{ std::cout << "TEST, "__FILE__", \x1B[1m"#x"\x1B[0m, result: \x1B[1m" << x << "\x1B[0m\n"; }while(0);
#else
#error USE g++, if you want TEST()
#endif




void test_format_size(){
	TEST( format_size(10)    );
	TEST( format_size(1024)  );
	TEST( format_size(1025)  );
	TEST( format_size(1050)  );
	TEST( format_size(1200)  );
	TEST( format_size(50000) );
}




#endif /* _TEST_H_ */
